﻿using OpcUaHelper;
using OpcUaHelper.Model;
using Configuration.ServerApi.Helper;
using System.Collections.Generic;

namespace Configuration.ServerApi
{
    /// <summary>
    /// Global 全局通用变量与方法
    /// </summary>
    public static class Global
    {
        /// <summary>
        /// OPCDA自动化硬件通信Helper
        /// </summary>
        public static OPCAutoHelper KepServer = new OPCAutoHelper();

        /// <summary>
        /// 当前已保存的节点数据
        /// </summary>
        public static Dictionary<int, ValueModel> SaveNodeData = KepServer.SaveNodeData;

        /// <summary>
        /// 电化学测试仪器通讯类
        /// </summary>
        public static ElecMachinesHelper ElecMachines = new ElecMachinesHelper();

    }
}
